.class public Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener;
.super Ljava/lang/Object;
.source "FacebookWrapper.java"

# interfaces
.implements Lcom/facebook/android/Facebook$DialogListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/android/glympseservice/FacebookWrapper;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "LoginDialogListener"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/glympse/android/glympseservice/FacebookWrapper;


# direct methods
.method public constructor <init>(Lcom/glympse/android/glympseservice/FacebookWrapper;)V
    .locals 0
    .parameter

    .prologue
    .line 139
    iput-object p1, p0, Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener;->this$0:Lcom/glympse/android/glympseservice/FacebookWrapper;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener;)Lcom/glympse/android/glympseservice/FacebookWrapper;
    .locals 1
    .parameter

    .prologue
    .line 139
    iget-object v0, p0, Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener;->this$0:Lcom/glympse/android/glympseservice/FacebookWrapper;

    return-object v0
.end method


# virtual methods
.method public onCancel()V
    .locals 2

    .prologue
    .line 144
    const-string v0, "FACEBOOK - LoginDialogListener:onCancel"

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 147
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    new-instance v1, Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener$1;

    invoke-direct {v1, p0}, Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener$1;-><init>(Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener;)V

    invoke-virtual {v0, v1}, Lcom/glympse/platform/Platform;->PostToMainThreadIfNeeded(Lcom/glympse/platform/GRunnable;)Z

    .line 155
    return-void
.end method

.method public onComplete(Landroid/os/Bundle;)V
    .locals 2
    .parameter "values"

    .prologue
    .line 160
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "FACEBOOK - LoginDialogListener:onComplete: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1}, Landroid/os/Bundle;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 163
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    new-instance v1, Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener$2;

    invoke-direct {v1, p0}, Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener$2;-><init>(Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener;)V

    invoke-virtual {v0, v1}, Lcom/glympse/platform/Platform;->PostToMainThreadIfNeeded(Lcom/glympse/platform/GRunnable;)Z

    .line 178
    return-void
.end method

.method public onError(Lcom/facebook/android/DialogError;)V
    .locals 2
    .parameter "e"

    .prologue
    .line 183
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "FACEBOOK - LoginDialogListener:onError: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1}, Lcom/facebook/android/DialogError;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 186
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    new-instance v1, Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener$3;

    invoke-direct {v1, p0}, Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener$3;-><init>(Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener;)V

    invoke-virtual {v0, v1}, Lcom/glympse/platform/Platform;->PostToMainThreadIfNeeded(Lcom/glympse/platform/GRunnable;)Z

    .line 194
    return-void
.end method

.method public onFacebookError(Lcom/facebook/android/FacebookError;)V
    .locals 2
    .parameter "e"

    .prologue
    .line 199
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "FACEBOOK - LoginDialogListener:onFacebookError: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1}, Lcom/facebook/android/FacebookError;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 202
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    new-instance v1, Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener$4;

    invoke-direct {v1, p0}, Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener$4;-><init>(Lcom/glympse/android/glympseservice/FacebookWrapper$LoginDialogListener;)V

    invoke-virtual {v0, v1}, Lcom/glympse/platform/Platform;->PostToMainThreadIfNeeded(Lcom/glympse/platform/GRunnable;)Z

    .line 218
    return-void
.end method
